<template>
  <j-modal
    :title="title"
    :width="1400"
    :visible="visible"
    switchFullscreen
    @ok="handleOk"
    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
    @cancel="handleCancel"
    cancelText="关闭">
    <hf-pm-project-tasks-list-tab ref='hfPmProjectTasksListTab'></hf-pm-project-tasks-list-tab>
  </j-modal>

</template>

<script>
import HfPmProjectTasksListTab from '@views/hifar/pm/HfPmProjectTasksListTab'

export default {
  name: 'PmProjectSubjectsListModel',
  components: {
    HfPmProjectTasksListTab
  },
  data() {
    return {
      title: '',
      width: 1200,
      visible: false,
      disableSubmit: true,
    }
  },
  methods: {
    handleOk() {
    },
    handleCancel() {
      this.close()
    },
    close () {
      this.$emit('close');
      this.visible = false;
    },
    queryTasks(record) {
      this.visible = true
      this.$nextTick(() => {
        let targetId = record.id
        this.$refs.hfPmProjectTasksListTab.getListBySelectedKey2(targetId)
      })
    }
  }

}
</script>

<style scoped>

</style>